package com.guigu.dealservice.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class PurchaseDemandVo {
    private Integer status;
    private Integer type;
    @JsonDeserialize(contentUsing = LocalDateTimeDeserializer.class)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private List<LocalDateTime> releaseTime;

    private Integer purchaseStatus;//求购状态

    private String brand;//求购品牌

    private String model;//求购型号

    private String equipmentType;//求购类型

    private Long userId; //求购用户id


}
